package com.dk.feign.fallback;

import com.dk.data.Result;
import com.dk.em.ConstantEnum;
import com.dk.entity.TAdminDTO;
import com.dk.feign.AdminFeign;

public class AdminFeignFallback implements AdminFeign {

    @Override
    public Result<TAdminDTO> findAllAdminById(Long id) {
        return Result.bulid(ConstantEnum.FAIL_FALLBACK);
    }

    @Override
    public Result<TAdminDTO> getInfoIdBy() {
        return Result.bulid(ConstantEnum.FAIL_FALLBACK);
    }
}
